import request from '@/utils/request'

// 查询
export function getSalaryConfig(query) {
  return request({
    url: '/ConfigCtrlController/selectConfigCtrl',
    method: 'get',
    params: query
  })
}

// 修改若没有则新增
export function updataGetSalaryConfig(data) {
  return request({
    url: '/ConfigCtrlController/updataIsAbleConfigCtrl',
    method: 'post',
    data
  })
}

// 修改若没有则新增
export function deleteRedis(query) {
  return request({
    url: '/deleteRedis',
    method: 'get',
    params: query
  })
}
